$OpenBSD: patch-jdk_make_javax_sound_Makefile,v 1.6 2013/01/14 20:16:56 kurt Exp $
--- jdk/make/javax/sound/Makefile.orig	Thu Jan 10 14:52:38 2013
+++ jdk/make/javax/sound/Makefile	Thu Jan 10 14:58:41 2013
@@ -124,6 +124,11 @@ else
     # build with empty direct audio
     INCLUDE_DAUDIO = TRUE
 endif
+ifeq ($(OS_VENDOR), OpenBSD)
+  # build with direct audio
+  CPPFLAGS += -DUSE_DAUDIO=TRUE
+  LDFLAGS += -lsndio
+endif
 endif # PLATFORM bsd
 
 ifeq ($(PLATFORM), macosx)
